<?php namespace app\admin\controller;
class Button{
    public function index(){
        $file = '1.jpeg';
        $res= Wx::instance('Material')->upload('image',$file);
        p(json_decode($res,true));
        dd($res);
    }
}